<script type="text/javascript">
$(function(){
	layout.init();	
});
</script>
<div class="sidebar">
    	<div class="mt30 f14 bold">
        	{$Think.config.WEBTITLE}
        </div>
    	<div class="mt10">
        	{$Think.session.username}({$Think.session.role|get_role})
        </div>
        <div class="mt10">
            <a href="/" title="网站首页" target="_blank">网站首页</a> |
        	<a href="{:U('Administrator/password')}" title="修改密码">修改密码</a> |
            <a href="{:U('Public/loginOut')}" title="安全退出">安全退出</a>
        </div>
        <dl class="sidebar_nav">
        	<dt <eq name="Think.const.MODULE_NAME" value="Public">class="current"</eq>><a href="{:U('Public/index')}" title="后台首页">后台首页</a></dt>
        </dl>
        <volist name="menu" id="vo">
     	<dl class="sidebar_nav">
        	<dt <eq name="vo[name]" value="$Think.const.MODULE_NAME">class="current"</eq>>{$vo.title}
            </dt>
            <dd <eq name="vo[name]" value="$Think.const.MODULE_NAME">style="display: block;"</eq>>
             	<volist name="vo.sub" id="v">
               	<a href="{:U($vo[name].'/'.$v[name])}" title="{$v.title}">{$v.title}</a> 
    			</volist>
            </dd>            
        </dl>       	
        </volist>                    
</div>